package com.example.wxback;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "sys_user")
public class UserModel {

    @TableId(value = "id",type = IdType.AUTO)//指定自增策略
    private int id;

    private String nickname;

    private String password;

    private String username;
}
